package cn.tedu.blog.server.controller;

import cn.tedu.blog.server.pojo.dto.UserAddNewDTO;
import cn.tedu.blog.server.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {
    @Autowired
    IUserService userService;
    @PostMapping("add-new")
    public void addNew(@RequestBody UserAddNewDTO userAddNewDTO){


    }
    @RequestMapping("/countByUsername")
    public void countByUsername(){

    }

}
